var q6 ="#fUI/RunnerGame.img/RunnerGameUI/UI/Point/1#"
var q1 ="#fUI/SoulUI.img/DungeonMap/icon/dungeonItem/0#"
var h1 ="#fUI/Login.img/WorldNotice/1/5#"
var h4 ="#fUI/Gateway.img/WorldSelect/BtDot/normal/0#"  
var h6 ="#fUI/SoulUI.img/DungeonEffect/2350012/15#"  
var h7 ="#fItem/Cash/0501.img/05010000/effect/default/0#" 
var h8 ="#fItem/Cash/0583.img/05830002/info/icon#" 
var h9 ="#fItem/Consume/0237.img/02370000/info/icon#" 
var bbb1 ="#fItem/Cash/0516.img/05160005/info/icon#"
var bbb2 ="#fItem/Cash/0516.img/05160000/info/icon#"
var bbb3 ="#fItem/Cash/0516.img/05160001/info/icon#"
var ddd1 ="#fItem/Cash/0523.img/05230000/info/icon#"
var ddd3 ="#fItem/Cash/0533.img/05330000/info/icon#"
var ddd4 ="#fItem/Cash/0537.img/05370000/info/icon#"
var ddd5 ="#fItem/Cash/0548.img/05480000/info/icon#"
var ddd6 ="#fItem/Cash/0548.img/05480001/info/icon#"
var h7 ="#fItem/Cash/0501.img/05010000/effect/default/0#"
var s18 ="#fUI/UIWindow/AriantMatch/characterIcon/5#";
var aaa ="#fUI/UIWindow/AriantMatch/characterIcon/5#";
var yun ="#fUI/UIWindow/Quest/icon8/0#";////红沙漏
var yun2 ="#fUI/UIWindow/Quest/icon8/0#";////蓝指标
var yun8 ="#fUI/UIWindow/MonsterBook/arrowLeft/normal/0#";////金左指标
var yun9 ="#fUI/UIWindow/MonsterBook/arrowRight/normal/0#";////金右指标
var ttt ="#fUI/UIWindow/Quest/icon2/7#";//"+ttt+"//美化1
var ttt2 ="#fUI/UIWindow/Quest/icon6/7#";////美化2
var ttt3 ="#fUI/UIWindow/Quest/icon3/6#";//"+ttt3+"//美化圆
var ttt4 ="#fUI/UIWindow/Quest/icon5/1#";//"+ttt4+"//美化New
var ttt5 ="#fUI/UIWindow/Quest/icon0#";////美化!
var ttt7 ="#fUI/Basic/BtHide3/mouseOver/0#";//"+ttt6+"//美化会员
var ttt6 ="#fUI/UIWindow.img/PvP/Scroll/enabled/next2#";
var epp = "#fEffect/CharacterEff/1082312/0/0#";  //彩光
var eff = "#fCharacter/Weapon/01702523.img/48/straight/0/effect#"; //彩虹带
var eff = "#fItem/Cash/0537.img/05370000/info/icon#" //
var epp = "#fEffect/CharacterEff/1082312/0/0#";  //彩光
var epp1 = "#fEffect/CharacterEff/1082312/2/0#"; //彩光1
var axx = "#fEffect/CharacterEff/1051294/0/0#";  //爱心
var xxx = "#fEffect/CharacterEff/1082565/2/0#"; //星系
var ppp = "#fEffect/CharacterEff/1112907/4/0#"; //泡炮 
var epp3 = "#fEffect/CharacterEff/1112908/0/1#";  //彩光3
var axx1 = "#fEffect/CharacterEff/1062114/1/0#";  //爱心
var zs = "#fEffect/CharacterEff/1112946/2/0#";  //砖石粉
var zs1 = "#fEffect/CharacterEff/1112946/1/1#";  //砖石蓝
var dxxx = "#fEffect/CharacterEff/1102232/2/0#"; //星系
var tz = "#fEffect/CharacterEff/1082565/2/0#";  //兔子蓝
var tz1 = "#fEffect/CharacterEff/1082565/4/0#";  //兔子粉
var tz7 = "#fEffect/CharacterEff/1112900/3/1#";  //音符红
var tz8 = "#fEffect/CharacterEff/1112900/4/1#";  //音符绿
var tz88 = "#fEffect/CharacterEff/1112900/5/1#";  //音符绿!
var yun1 ="#fUI/UIWindow/Quest/icon7/10#";////红色圆
var tz9 = "#fEffect/CharacterEff/1112902/0/0#";  //蓝心
var tz10 = "#fEffect/CharacterEff/1112903/0/0#";  //红心
var tz11 = "#fEffect/CharacterEff/1112904/0/0#";  //彩心
var tz12 = "#fEffect/CharacterEff/1112924/0/0#";  //黄星
var tz13 = "#fEffect/CharacterEff/1112925/0/0#";  //蓝星
var tz14 = "#fEffect/CharacterEff/1112926/0/0#";  //红星
var tz15 = "#fEffect/CharacterEff/1112949/0/0#";  //花样音符
var tz16 = "#fEffect/CharacterEff/1112949/1/0#";  //花样音符
var tz17 = "#fEffect/CharacterEff/1112949/2/0#";  //花样音符
var tz18 = "#fEffect/CharacterEff/1112949/3/0#";  //花样音符
var tz19 = "#fEffect/CharacterEff/1112949/4/0#";  //花样音符
var tz20 = "#fEffect/CharacterEff/1114000/1/0#";  //红星花
var unn1 = "#fetc/RuneStone.img/runeStone.0.3.effect.14#";
var head = "#fUI/UIWindow2.img/Quest/quest_info/summary_icon/summary#\r\n";
var yun4 ="#fUI/UIWindow/Quest/reward#";////奖励
var 戴米安 = "#fMob/8880130.img/stand/0#";
var 闹钟 = "#fMob/8500001.img/stand/0#";
var 希纳斯 = "#fMob/8850011.img/stand/0#";
var 扎昆 = "#fMob/8800000.img/stand/0#";
var 奖励 ="#fUI/UIWindow/Quest/reward#";
var 黑水晶 ="#v4251402#";
var 五彩水晶 ="#v4251202#";
var ss1 ="#v4250802#";
var ss2 ="#v4251102#";
var ss3 ="#v4250902#";
var ss4 ="#v4251002#";
var 黄金 ="#v4011006#";
var 青铜="#v4011000#";
var 钢铁 ="#v4011001#";
var 祖母绿 ="#v4250002#";
var 祖母 ="#v4250702#";
var 海蓝 ="#v4250502#";
var 石榴 ="#v4250202#";
var 蛋白 ="#v4250302#";
var 水晶花园 ="#fMap/MapHelper.img/mark/CristalGarden#";
var 埃欧雷 ="#fMap/MapHelper.img/mark/Eurel#";
var 里恩 ="#fMap/MapHelper.img/mark/Rien#";
var 诺特勒斯 ="#fMap/MapHelper.img/mark/Nautilus#";
var 明珠港 ="#fMap2/Obj/MapHelper.img/mark/Rith#";
var 魔法密林 ="#fMap/MapHelper.img/mark/Ellinia#";
var 林中之城 ="#fMap/MapHelper.img/mark/Dungeon#";
var 冰封雪域 ="#fMap/MapHelper.img/mark/ElNath#";
var 地球总部 ="#fMap/MapHelper.img/mark/OmegaSector#";
var 童话村 ="#fMap/MapHelper.img/mark/Folkvillige#";
var 水下世界 ="#fMap/MapHelper.img/mark/AquaRoad#";
var 武陵 ="#fMap/MapHelper.img/mark/Murueng#";
var 阿里安特 ="#fMap/MapHelper.img/mark/Ariant#";
var 玛加提亚 ="#fMap/MapHelper.img/mark/Magatia#";
var 三个门="#fMap/MapHelper.img/mark/TimeTemple#";
var 废弃都市 ="#fMap/MapHelper.img/mark/KerningCity#";
var 射手村 ="#fMap/MapHelper.img/mark/Henesys#";
var 勇士部落 ="#fMap/MapHelper.img/mark/Perion#";
var 圣地 ="#fMap/MapHelper.img/mark/Ereb#";
var 勇士部落 ="#fMap/MapHelper.img/mark/Perion#";
var 百草堂 ="#fMap/MapHelper.img/mark/WhiteHerb#";
var 天空之城 ="#fMap/MapHelper.img/mark/Orbis#";
var 玩具城 ="#fMap/MapHelper.img/mark/Ludibrium#";
var 神木村 ="#fMap/MapHelper.img/mark/Leafre#";
var 克里斯 ="#fMap/MapHelper.img/mark/BlackDragon#";
var 埃德尔 ="#fMap/MapHelper.img/mark/Edelstein#";
var 明珠港 ="#fMap/MapHelper.img/mark/Rith#";
var 万神殿 ="#fMap/MapHelper.img/mark/Pantheon#";
var 少林寺 ="#fMap/MapHelper.img/mark/shaolin_songshan#";
var 上海 ="#fMap/MapHelper.img/mark/ShangHaiCN#";
var 新叶城 ="#fMap/MapHelper.img/mark/NLC#";
var 日本 ="#fMap/MapHelper.img/mark/jipangu#";
var e = "#fUI/UIPVP.img/MiniMapIcon/star#"; //星

function start() {
	status = -1;
	action(1, 0, 0);
}

function action(mode, type, selection) {
	if (mode == -1) {
		cm.dispose();
	} else {
		if (mode == 0 && status == 0) {
			cm.dispose();
			return;
		}
		if (mode == 1)
			status++;
		else
			status--;
		if (status == 0) {
			var text ="#b#L5#"+e+"#r#e需要星之力x5:"+"#e#d  山羊峡谷\r\n#l";	
			text+="#b#L7#"+e+"#r#e需要星之力x15:"+"#e#d 暗光战场\r\n#l";				
			text+="#b#L2#"+e+"#r#e需要星之力x25:"+"#e#d 扭曲的时间\r\n#l";		
			text+="#b#L3#"+e+"#r需要星之力x28:"+"#e#d 怪异的回廊\r\n#l";		
			text+="#b#L4#"+e+"#r需要星之力x28:"+"#e#d 消失的回廊\r\n#l";
			text+="#b#L22#"+e+"#r需要星之力x45:"+"#e#d 秘密庭院\r\n#l";		
			text+="#b#L0#"+e+"#r需要星之力x50:"+"#e#d 废矿区域\r\n#l";		
			text+="#b#L1#"+e+"#r需要星之力x55:"+"#e#d 废艰苦洞穴\r\n#l";	
			text+="#b#L8#"+e+"#r需要星之力x65:"+"#e#d 峡谷西边\r\n#l";		
			text+="#b#L9#"+e+"#r需要星之力x70:"+"#e#d 被遗忘的龙之巢穴\r\n#l";		
			text+="#b#L10#"+e+"#r需要星之力x80:"+"#e#d 废都塔：理发店\r\n#l";	
			text+="#b#L11#"+e+"#r需要星之力x90:"+"#e#d 时间神殿：另一个忘却之路\r\n#l";				
			text+="#b#L12#"+e+"#r需要星之力x120:"+"#e#d 堕落之地：骑士团演武场\r\n#l";		
			text+="#b#L13#"+e+"#r需要星之力x120:"+"#e#d 堕落之地：骑士团武器库\r\n#l";	
			text+="#b#L14#"+e+"#r需要星之力x140:"+"#e#d 外来ufo：飞船内部通道\r\n";	
			cm.sendSimple(text);
		} else if (status == 1){
			switch (selection) {

            case 0: // 费矿区
				cm.dispose();
				cm.warp(211041600);
				return;
            case 1: // 艰苦洞穴
				cm.dispose();
				cm.warp(211042200);
				return;
            case 2: // 扭曲的时间
				cm.dispose();
				cm.warp(220060000);
				return;
			case 3://  怪异的回廊
        	    cm.dispose();
				cm.warp(220060400);
				return;
            case 4: //  消失的回廊
        	    cm.dispose();
				cm.warp(220070400);
				return;   
            case 5: //  山羊峡谷
        	    cm.dispose();
				cm.warp(240010510);
				return; 
            case 7: //  暗光战场
        	    cm.dispose();
				cm.warp(240020210);
				return; 	
            case 8: //  峡谷西边
        	    cm.dispose();
				cm.warp(240040300);
				return; 
            case 9: //  被遗忘的
        	    cm.dispose();
				cm.warp(240040512);
				return; 	
            case 10: // 废都塔美发店
        	    cm.dispose();
				cm.warp(103041159);
				return; 
            case 11: //  另一个忘却之路
        	    cm.dispose();
				cm.warp(270030630);
				return; 
            case 12: //  演武场
        	    cm.dispose();
				cm.warp(271030102);
				return; 
            case 13: //  武器库
        	    cm.dispose();
				cm.warp(271030320);
				return; 
            case 14: //  ufo通道
        	    cm.dispose();
				cm.warp(221030660);
				return; 	
            case 15: //  阿里安特
        	    cm.dispose();
				cm.warp(260000000);
				return; 		
            case 16: //  马加提亚
        	    cm.dispose();
				cm.warp(261000000);
				return; 	
            case 17: //  百草堂
        	    cm.dispose();
				cm.warp(251000000);
				return; 	
            case 18: //  武陵
        	    cm.dispose();
				cm.warp(250000100);
				return; 	
            case 19: //  林中之城
        	    cm.dispose();
				cm.warp(105000000);
				return; 		
            case 20: //  圣地
        	    cm.dispose();
				cm.warp(130000000);
				return; 	
            case 21: //  埃德尔斯坦
        	    cm.dispose();
				cm.warp(310000000);
				return; 
            case 22: // 秘密庭院I
        	    cm.dispose();
				cm.warp(211080400);
				return; 	
            case 23: //  万神殿
        	    cm.dispose();
				cm.warp(400000000);
				return; 
            case 24: //  水晶花园
        	    cm.dispose();
				cm.warp(150000000);
				return; 	
            case 25: //  里恩
        	    cm.dispose();
				cm.warp(140000000);
				return; 
			case 30: //  少林
        	    cm.dispose();
				cm.warp(701210000);
				return; 
            case 26: //  上海
        	    cm.dispose();
				cm.warp(701100000);
				return; 
            case 27: //  埃欧蕾
        	    cm.dispose();
				cm.warp(910150300);
				return; 
            case 28: //  新叶
        	    cm.dispose();
				cm.warp(600000000);
				return; 	
            case 29: //  日本
        	    cm.dispose();
				cm.warp(800000000);
				return; 				
				cm.sendOk("管理员正在准备中.请期待");
				cm.dispose();
			}
		}
	}
}